import request from "@/utils/request";

export function queryPage(data) {
  return request({
    url: "/systemConfigUser/queryPage",
    method: "post",
    data
  })
}

export function insertByModel(data) {
  return request({
    url: "/systemConfigUser/insertByModel",
    method: "post",
    data
  })
}

export function updateByModel(data) {
  return request({
    url: "/systemConfigUser/updateByModel",
    method: "post",
    data
  })
}

export function deleteByModel(data) {
  return request({
    url: "/systemConfigUser/delete",
    method: "post",
    data
  })
}

export function querySysList(data) {
  return request({
    url: "/sysConfigMain/queryList",
    method: "get",
    params: data
  })
}

export function queryProjectList(data) {
  return request({
    url: "/projectUser/queryList",
    method: "get",
    params: data
  })
}

export function queryUserPcMenuList(data) {
  return request({
    url: "/systemConfigUser/queryUserPcMenuList",
    method: "get",
    params: data
  })
}
export function saveUserPcMenu(data) {
  return request({
    url: "/systemConfigUser/saveUserPcMenu",
    method: "post",
    data
  })
}
